"semver 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
"tar 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
"tempdir 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "term 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "term 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"threadpool 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"time 0.1.24 (registry+https://github.com/rust-lang/crates.io-index)",
"toml 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
[[package]]
name = "term"
-version = "0.2.6"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"kernel32-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
locked: HashMap<SourceId, HashMap<String, Vec<(PackageId, Vec<PackageId>)>>>,
}
-#[derive(PartialEq, Eq, Copy)]
+#[derive(PartialEq, Eq, Clone, Copy)]
enum Kind {
Override,
Locked,
metadata: Option<Metadata>,
}
-#[derive(Copy)]
+#[derive(Clone, Copy)]
pub enum Method<'a> {
Everything,
Required{ dev_deps: bool,
use self::AdequateTerminal::{NoColor, Colored};
-#[derive(Copy)]
+#[derive(Clone, Copy)]
pub struct ShellConfig {
pub color: bool,
pub verbose: bool,
pub mode: CompileMode,
}
-#[derive(Copy, PartialEq)]
+#[derive(Clone, Copy, PartialEq)]
pub enum CompileMode {
Test,
Build,
use util::{GitRepo, HgRepo, CargoResult, human, ChainError, internal};
use util::Config;
-#[derive(Copy, Debug, PartialEq)]
+#[derive(Clone, Copy, Debug, PartialEq)]
pub enum VersionControl { Git, Hg, NoVcs }
pub struct NewOptions<'a> {
use super::{Kind, Compilation, BuildConfig};
use super::{ProcessEngine, ExecEngine};
-#[derive(Debug, Copy)]
+#[derive(Debug, Clone, Copy)]
pub enum Platform {
Target,
Plugin,
}
/// Default implementation of `ExecEngine`.
-#[derive(Copy)]
+#[derive(Clone, Copy)]
pub struct ProcessEngine;
impl ExecEngine for ProcessEngine {
mod layout;
mod links;
-#[derive(PartialEq, Eq, Hash, Debug, Copy)]
+#[derive(PartialEq, Eq, Hash, Debug, Clone, Copy)]
pub enum Kind { Host, Target }
#[derive(Default, Clone)]
///
/// A fresh package does not necessarily need to be rebuilt (unless a dependency
/// was also rebuilt), and a dirty package must always be rebuilt.
-#[derive(PartialEq, Eq, Debug, Copy)]
+#[derive(PartialEq, Eq, Debug, Clone, Copy)]
pub enum Freshness {
Fresh,
Dirty,
pub type Result<T> = result::Result<T, Error>;
-#[derive(PartialEq, Copy)]
+#[derive(PartialEq, Clone, Copy)]
pub enum Auth {
Authorized,
Unauthorized